package org.damocode.iot.network.tcp.client;

import io.vertx.core.net.NetClientOptions;
import lombok.*;
import org.damocode.iot.network.tcp.parser.PayloadParser;

import java.util.function.Supplier;

/**
 * @Description: Tcp客户端属性
 * @Author: zzg
 * @Date: 2022/5/11 14:50
 * @Version: 1.0.0
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TcpClientProperties {

    private String id;

    private int port;

    private String host;

    private Supplier<PayloadParser> parserSupplier;

    private NetClientOptions options;

    private long keepAliveTimeout;

}
